#include "matrix.h"
#include "functions.h"
#include <time.h>
#include <stdlib.h>

int main (void) {
    int **px = (int **) allocate (10, 10, sizeof (int));
	double **cx = (double **) allocate (10, 10, sizeof (double));
    
	srand(time(NULL));
	
	applyint     (px, 10, 10, setInt);
    applyintp    (px, 10, 10, printInt);
	puts("\n");
	applyint	 (px, 10, 10, isFib2);
    applyintp    (px, 10, 10, printInt);
   /* applydouble  (cx, 10, 10, setDouble);
    applydoublep (cx, 10, 10, printDouble);*/
    deallocate   ((void *)px, 10);
    deallocate   ((void *)cx, 10);
    
    return getchar ();
} 
